CVE-2017-1297
IBM DB2 Stack-Based Buffer Overflow Vulnerability
Description
IBM DB2 for Linux, UNIX and Windows 9.2, 10.1, 10.5, and 11.1 (includes DB2 Connect Server) is vulnerable to a stack-based buffer overflow, caused by improper bounds checking which could allow a local attacker to execute arbitrary code. IBM X-Force ID: 125159.
INFO
Published Date :
June 27, 2017, 4:29 p.m.
Last Modified :
April 20, 2025, 1:37 a.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2017-1297
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.0 | HIGH | [email protected] | 
Solution
- Apply the appropriate IBM DB2 Fix Pack or Special Build.
- Apply the appropriate IBM DB2 Connect Fix Pack or Special Build based on the most recent fix pack level for your branch.
Public PoC/Exploit Available at Github
                                            CVE-2017-1297 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2017-1297.
                                        
| URL | Resource | 
|---|---|
| http://www.ibm.com/support/docview.wss?uid=swg22004878 | Patch Vendor Advisory | 
| http://www.securityfocus.com/bid/99271 | Third Party Advisory VDB Entry | 
| http://www.securitytracker.com/id/1038772 | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/125159 | Vendor Advisory | 
| https://www.exploit-db.com/exploits/42260/ | |
| http://www.ibm.com/support/docview.wss?uid=swg22004878 | Patch Vendor Advisory | 
| http://www.securityfocus.com/bid/99271 | Third Party Advisory VDB Entry | 
| http://www.securitytracker.com/id/1038772 | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/125159 | Vendor Advisory | 
| https://www.exploit-db.com/exploits/42260/ | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2017-1297 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2017-1297
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2017-1297 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2017-1297 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference http://www.ibm.com/support/docview.wss?uid=swg22004878 Added Reference http://www.securityfocus.com/bid/99271 Added Reference http://www.securitytracker.com/id/1038772 Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/125159 Added Reference https://www.exploit-db.com/exploits/42260/ 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Aug. 12, 2017 Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/42260/ [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jul. 07, 2017 Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1038772 [No Types Assigned] 
- 
                            Initial Analysis by [email protected]Jul. 03, 2017 Action Type Old Value New Value Added CVSS V2 (AV:L/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Changed Reference Type http://www.ibm.com/support/docview.wss?uid=swg22004878 No Types Assigned http://www.ibm.com/support/docview.wss?uid=swg22004878 Patch, Vendor Advisory Changed Reference Type http://www.securityfocus.com/bid/99271 No Types Assigned http://www.securityfocus.com/bid/99271 Third Party Advisory, VDB Entry Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/125159 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/125159 Vendor Advisory Added CWE CWE-119 Added CPE Configuration AND OR *cpe:2.3:a:ibm:data_server_client:-:*:*:*:*:*:*:* *cpe:2.3:a:ibm:data_server_driver_for_odbc_and_cli:-:*:*:*:*:*:*:* *cpe:2.3:a:ibm:data_server_driver_package:-:*:*:*:*:*:*:* *cpe:2.3:a:ibm:data_server_runtime_client:-:*:*:*:*:*:*:* *cpe:2.3:a:ibm:db2:9.7:*:*:*:advanced_enterprise:*:*:* *cpe:2.3:a:ibm:db2:9.7:*:*:*:advanced_workgroup:*:*:* *cpe:2.3:a:ibm:db2:9.7:*:*:*:enterprise:*:*:* *cpe:2.3:a:ibm:db2:9.7:*:*:*:express:*:*:* *cpe:2.3:a:ibm:db2:9.7:*:*:*:workgroup:*:*:* *cpe:2.3:a:ibm:db2:10.1:*:*:*:advanced_enterprise:*:*:* *cpe:2.3:a:ibm:db2:10.1:*:*:*:advanced_workgroup:*:*:* *cpe:2.3:a:ibm:db2:10.1:*:*:*:enterprise:*:*:* *cpe:2.3:a:ibm:db2:10.1:*:*:*:express:*:*:* *cpe:2.3:a:ibm:db2:10.1:*:*:*:workgroup:*:*:* *cpe:2.3:a:ibm:db2:10.5:*:*:*:advanced_enterprise:*:*:* *cpe:2.3:a:ibm:db2:10.5:*:*:*:advanced_workgroup:*:*:* *cpe:2.3:a:ibm:db2:10.5:*:*:*:enterprise:*:*:* *cpe:2.3:a:ibm:db2:10.5:*:*:*:express:*:*:* *cpe:2.3:a:ibm:db2:10.5:*:*:*:workgroup:*:*:* *cpe:2.3:a:ibm:db2:11.1:*:*:*:advanced_enterprise:*:*:* *cpe:2.3:a:ibm:db2:11.1:*:*:*:advanced_workgroup:*:*:* *cpe:2.3:a:ibm:db2:11.1:*:*:*:enterprise:*:*:* *cpe:2.3:a:ibm:db2:11.1:*:*:*:express:*:*:* *cpe:2.3:a:ibm:db2:11.1:*:*:*:workgroup:*:*:* *cpe:2.3:a:ibm:db2_connect:9.7:*:*:*:application_server:*:*:* *cpe:2.3:a:ibm:db2_connect:9.7:*:*:*:enterprise:*:*:* *cpe:2.3:a:ibm:db2_connect:9.7:*:*:*:unlimited:*:*:* *cpe:2.3:a:ibm:db2_connect:10.1:*:*:*:application_server:*:*:* *cpe:2.3:a:ibm:db2_connect:10.1:*:*:*:enterprise:*:*:* *cpe:2.3:a:ibm:db2_connect:10.1:*:*:*:unlimited:*:*:* *cpe:2.3:a:ibm:db2_connect:10.5:*:*:*:application_server:*:*:* *cpe:2.3:a:ibm:db2_connect:10.5:*:*:*:enterprise:*:*:* *cpe:2.3:a:ibm:db2_connect:10.5:*:*:*:unlimited:*:*:* *cpe:2.3:a:ibm:db2_connect:11.1.0.0:*:*:*:application_server:*:*:* *cpe:2.3:a:ibm:db2_connect:11.1.0.0:*:*:*:enterprise:*:*:* *cpe:2.3:a:ibm:db2_connect:11.1.0.0:*:*:*:unlimited:*:*:* OR cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Jun. 29, 2017 Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/99271 [No Types Assigned] 
Vulnerability Scoring Details
Base CVSS Score: 7.3
Base CVSS Score: 4.4
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.27 }} -0.36%
score
0.47137
percentile
 
                         
                         
                         
                                             
                                            